Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(coverage): ignore build_highlight_alias #404

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

D-Sketon
Copy link
Member

@D-Sketon D-Sketon commented Apr 21, 2024

check list

  • Add test cases for the changes.
  • Passed the CI test.

Description

Additional information

ref: #354 (comment)

@coveralls
Copy link

Coverage Status

coverage: 99.889% (+3.0%) from 96.875%
when pulling 697dd8d on test/cov
into 313dee3 on master.

@@ -1,3 +1,5 @@
{
"all": "true"
Copy link
Member

@uiolee uiolee May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"all" is necessary.
Otherwise those files which are not introduced will be ignored. For example, if you delete test/highlight.spec.ts, you will find that the coverage reaches 100%.

In other words, if we forget to add a corresponding test file for a certain file, coverage will not expose this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants